package test0819;

/**
 * Created with IDEA
 * author:ju bai
 * Date:2021/8/20
 * Time:17:26
 **/
public class Main4 {
    //写出0-9组成所有不相同的三位数
    public static void main(String[] args) {
        for (int i = 1; i < 10; i++) {
            for (int j = 0; j < 10; j++) {
                for (int k = 0; k < 10; k++) {
                    System.out.print(i+""+j+""+k+""+" ");
                }
            }
        }
    }
}
